package com.ys.otms.dao;

import com.ys.otms.dto.*;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/10/26.
 */
public interface IDeductionsDao {

    ConsumeTypeDto selectConsumeTypeByConsumeTypeId(ParamDto paramDto);

    LeftAmountDto selectLeftAmountByCompanyId(ParamDto paramDto);

    void updateLeftAmountMoney(LeftAmountDto leftAmountDtos);

    void insertConsume(ConsumeDto consumeDto);

    void insetUserAndShip(List<UserShipDto> userShipDtos);

    ConsumeDto selectConsumeById(ParamDto paramDto);

    void updateConsumeById(ParamDto paramDto);

    List<UserShipDto> selectUserShipByShipIdAndCompanyId(Map map);

    void updateUserAndShip(UserShipDto userShipDto);

    void insertLeftAmount(LeftAmountDto leftAmount);
}
